var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });          //跳到对应的 ejs文件
});



// helloword
router.get('/helloworld',function(req,res,next){
  res.render('helloworld',{title: 'hello world!!!!'});
})


module.exports = router;
